package com.example.shouybl.ui;





import android.content.DialogInterface;
import android.os.Bundle;


import android.support.v7.app.AlertDialog;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.TextView;


import com.example.shouybl.BaseApp;
import com.example.shouybl.R;

public class SystemSetActivity extends AppCompatActivity {

    private android.widget.TextView tvcheckupdata;
    private android.widget.TextView tvversioncode;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_system_set);

        initView();
        /*tvcheckupdata.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                AlertDialog.Builder builder=new AlertDialog.Builder(BaseApp.getInstance());
                builder.setMessage("检测到更新，是否更新");
                builder.setIcon(R.mipmap.moren);
                builder.setPositiveButton("确定", new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {

                    }
                });
                builder.setNegativeButton("取消", new DialogInterface.OnClickListener() {
                    @Override
                    public void onClick(DialogInterface dialog, int which) {

                    }
                });
                builder.show();
            }
        });*/
    }


    private void initView() {
        this.tvversioncode = (TextView) findViewById(R.id.tv_versioncode);
        this.tvcheckupdata = (TextView) findViewById(R.id.tv_check_updata);
    }


}
